export interface State {
    userinfo:Object,
    routerArr:Menu[] 
}
export enum RoleEnum{
    SUPER='super',
    TEST='test'
}

export interface Menu{
    name:String,
    icon?:String,
    path:String,
    disable?:Boolean,
    children?:Menu[],
    roles?:RoleEnum[],
    mate?:any,
    hideMenu?:Boolean,
    component?:Function,
    redirect?:String,
    id?:string,
    preid?:String | any
}
 